*{
    margin: 0;
    padding: 0;
}
.bg{
    width: 100%;
    height: 13.34rem;
    overflow: hidden;
}
.book-index{
      background:#89b649 url('../img/makebook-bg.jpg') no-repeat;
      background-size: cover;
      background-position: 0 -.4rem;
}
.fan {    
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
/*     Firefox */
}
.banner {
    width: 100%;
    height: 3.75rem;
}
.banner img{
    width: 100%;
    height: 100%;
}


.flip-container {
    position: fixed;
    width: 90%;
    height: 100%;
    left: 5%;
    top: 30%;
}
img{
    width: 100%;
}
.front,
.back {
    width: 100%;
}

/* flip speed goes here */

.flipper {
    -webkit-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    position: relative;
    width: 30%;
    height: 25%;
    float: left;
    margin-left: 5%;
}

.flipper:nth-child(3n+1) {
    margin-left: 0;
}



/* hide back of pane during swap */

.front,
.back {
    color: #ffffff;
    text-align: center;
    font-size: 24px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Chrome 和 Safari */
    -moz-backface-visibility: hidden;
    /* Firefox */
    position: absolute;
    top: 0;
    left: 0;
}

.back {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    /* Firefox */
}

.back .prize-img{
    position: absolute;
    left: 0;
    top: 0;
    width: 54%;
    left: 23%;
    top: 14%;
}

.chance{
    width: 2.7rem;
    height: .5rem;
    background: #5763d3;
    margin: auto;
    border-radius: .3rem;
    margin-top: 7.25rem;
    font-size: .25rem;
    color: #fff;
    text-align: center;
    line-height: .5rem;
}
.chance span{
    color: #fcff00;
    font-size: .3rem;
}


.index-footer{
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: .5rem;
}
.index-footer > div{
    box-sizing: border-box;
    padding: 0 .5rem;
    font-size: .3rem;
}
.index-footer > div a{
    list-style-type: none;
    text-decoration: none;
    color: black;
}
.footer-left {
    border-right:1px solid black;
}
.popup{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.bgs{
    background: rgba(0, 0, 0, 0.65);
    width: 100%;
    height: 100%;
}
.popBox{
    width: 5.2rem;
    height: 5.9rem;
    position: absolute;
    background: #fff;
    border-radius: .1rem;
    top: 2.6rem;
    font-size: .2rem;
    left: 50%;
    margin-left: -2.6rem;
}
.popBox-bg{
    width: 100%;
    height: 1.5rem;
    background: url('../img/pop-bg.jpg')no-repeat;
    background-size: cover;
    text-align: center;
    overflow: hidden;
}
.popBox-bg h1{
    color: #e6e42c;
    font-size: .5rem;
    margin-top: .15rem;
    margin-bottom: .06rem;
}
.popBox-bg p{
    font-size: .25rem;
    color: #e6e42c;
}
.prizeBox{
    width: 100%;
    text-align: center;
    margin-top: .2rem;
}
.prizeBox img{
    width: 2.5rem;
    height: 2.5rem;
}
.priDate{
    font-size: .15rem;
    text-align: center;
    letter-spacing: -1px;
}

.priBtn{
    width: 4.1rem;
    height: .7rem;
    margin: auto;
    margin-top: .2rem;
}
.priBtn button{
    background: #ff7e00;
    font-size: .3rem;
    width: 100%;
    height: 100%;
    border-radius: .1rem;
    color: #fff;
    outline: none;
    border: none;
}
.close{
    width: 100%;
    position: absolute;
    top: 8.8rem;
    text-align: center;
}
.close img{
    width: .65rem;
    height: .65rem;
}

.didnot{
    background: rgba(0, 0, 0, 0.65);
    position: absolute;
    top: 5.4rem;
    width: 4rem;
    height: 2.5rem;
    text-align: center;
    font-size: .3rem;
    color: #ecc014;
    line-height: 2.5rem;
    left: 50%;
    margin-left: -2rem;
}













